package edu.ptu.communityplatform.mapping;

import edu.ptu.communityplatform.domain.entity.Plot;
import edu.ptu.communityplatform.domain.vos.PlotVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @BelongsProject: communityPlatform
 * @BelongsPackage: edu.ptu.communityplatform.mapping
 * @Author: HYJ
 * @CreateTime: 2025-04-08  23:45
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface PlotMapping {
    PlotMapping PLOT_MAPPING = Mappers.getMapper(PlotMapping.class);

    PlotVo plotToPlotVo(Plot plot);
}
